package com.hyl.dao;

import com.hyl.entity.SysUser;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Description TODO
 * @Author hyl
 * @Date 2023/4/7 15:18
 **/
public interface SysUserMapper {

	SysUser findUserAndRoleById(Integer id);

	//多条件查询
	List<SysUser> findByParam(@Param("realName") String realName,
	                          @Param("sex") Integer sex,
	                          @Param("roleId") Integer roleId,
	                          @Param("beginTime") String beginTime,
	                          @Param("endTime") String endTime);

}
